<template>
    <div>
      <iframe width="100%" id="iframepage" :src="url" frameborder="0"></iframe>
    </div>
</template>

<script>
import config from '@/config'
const baseUrl = process.env.NODE_ENV === 'development' ? config.baseUrl.dev : config.baseUrl.pro
export default {
  name: 'druid',
  methods: {
    init () {
      var ifm = document.getElementById('iframepage')
      ifm.height = document.documentElement.clientHeight - 145
    }
  },
  computed: {
    url () {
      return baseUrl + 'druid/index.html'
    }
  },
  mounted () {
    this.init()
  }
}
</script>

<style>

</style>
